package cn.itsource.ymcc.feign;

import cn.itsource.result.JSONResult;
import cn.itsource.ymcc.domain.Login;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "service-uaa")
@RequestMapping("/login")
public interface UaaFeign {
    @RequestMapping(value="/save",method= RequestMethod.POST)
    JSONResult<Long> saveOrUpdate(@RequestBody Login login);


}
